from django.db import models


# Create your models here.


class News_Comment(models.Model):
    user_id = models.IntegerField(verbose_name="用户ID")
    news_id = models.IntegerField(verbose_name="新闻ID")
    comment_conten = models.CharField(max_length=64, null=False, verbose_name="评论的内容")
    parent_id = models.IntegerField(verbose_name="父评论ID")

    class Meta:
        db_table = "news_comment"
        verbose_name = "新闻评论"
        verbose_name_plural = verbose_name
